From: Giovanni Campagna Date: Sat, 2 Mar 2013 15:55:13 +0000 (+0100) Subject: OtherUsersDialog: wrap the description label X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4583 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e54d095064f42e62f5b63646ef7f8fdd3770d3cb;p=gnome-shell.git OtherUsersDialog: wrap the description label In some languages (like Italian) it doesn't fit in one line. https://bugzilla.gnome.org/show_bug.cgi?id=695002 --- diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 1f9696852..d784e75ab 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -889,6 +889,7 @@ const UserMenuButton = new Lang.Class({ let descriptionLabel = new St.Label({ style_class: 'end-session-dialog-description'}); descriptionLabel.set_text(_("Shutting down might cause them to lose unsaved work.")); + descriptionLabel.clutter_text.line_wrap = true; dialog.contentLayout.add(descriptionLabel, { x_fill: true, y_fill: true, y_align: St.Align.START });